#include <iostream>
using namespace std;
int main() {
  int arr1[2][3];
  arr1[0][0] = 10;
  arr1[0][1] = 20;
  arr1[0][2] = 30;
  arr1[1][0] = 40;
  arr1[1][1] = 50;
  arr1[1][2] = 60;
  for (int i = 0; i < 2; i++) {
    for (int j = 0; j < 3; j++) {
      cout << arr1[i][j] << "\t";
    }
  }
  cout << endl;
  int arr2[2][3] = {10, 20, 30, 40, 50, 60};
  for (int i = 0; i < 2; i++) {
    for (int j = 0; j < 3; j++) {
      cout << arr2[i][j] << "\t";
    }
  }
  cout << endl;
  int arr3[][3] = {10, 20, 30, 40, 50, 60};
  for (int i = 0; i < 2; i++) {
    for (int j = 0; j < 3; j++) {
      cout << arr3[i][j] << "\t";
    }
  }
  cout << endl;
  int arr4[2][3] = {{10, 20, 30}, {40, 50, 60}};
  for (int i = 0; i < 2; i++) {
    for (int j = 0; j < 3; j++) {
      cout << arr4[i][j] << "\t";
    }
  }
  cout << endl;
  return 0;
}
